.dashboard {
  padding: 24px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
  min-height: 100vh;
  position: relative;
}

.dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4l-2-2V24h-2v4l-2 2v4h6zm0-30V0h-2v4h-2v2h2v4h2V6h2V4h-2zM6 34v-4l-2-2V24H2v4l-2 2v4h6zM6 4V0H4v4H2v2h2v4h2V6h2V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.welcomeCard {
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* 欢迎卡片装饰 */
.welcomeCard::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: rgba(64, 169, 255, 0.08);
  border-radius: 50%;
  z-index: 0;
}

.welcomeCard::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 70px;
  height: 70px;
  background: rgba(64, 169, 255, 0.06);
  border-radius: 50%;
  z-index: 0;
}

.welcomeContent {
  padding: 24px 30px;
  position: relative;
  z-index: 1;
  border-left: none;
  margin-left: 0;
  background: none;
  border-radius: 0;
}

.welcomeContent::before, .welcomeContent::after {
  display: none;
}

.welcomeHeader {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0;
  border-left: 4px solid #4096ff;
  padding-left: 16px;
}

.welcomeHeader::before, .welcomeHeader::after {
  display: none;
}

.welcomeTitle {
  color: #1d1d1f !important;
  margin: 0 0 6px 0 !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}

.welcomeTitle::after {
  display: none;
}

.adminType {
  color: #86868b !important;
  font-size: 16px;
  font-weight: 400;
  margin-top: 4px;
  position: relative;
  padding-left: 0;
  letter-spacing: -0.01em;
}

.systemStatus {
  display: flex;
  gap: 32px;
  position: relative;
  padding: 0;
  margin-top: 12px;
}

.statusText, .serverCount {
  color: #666 !important;
  font-size: 15px;
  font-weight: 400;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.statusText::before, .serverCount::before {
  display: none;
}

.statsRow {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

/* 统计卡片样式 */
.statsRow :global(.ant-card) {
  background: white !important;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  border: none;
  overflow: hidden;
  position: relative;
}

.statsRow :global(.ant-card:hover) {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* 用户统计卡片样式 */
.statsRow :global(.ant-card:nth-child(1)) {
  background: white !important;
}

.statsRow :global(.ant-card:nth-child(1)::before) {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background: rgba(24, 144, 255, 0.08);
  border-radius: 50% 0 0 0;
  z-index: 0;
}

.statsRow :global(.ant-card:nth-child(1) .ant-statistic-content) {
  color: #096dd9;
}

.statsRow :global(.ant-card:nth-child(1) .anticon) {
  color: #40a9ff;
}

.statsRow :global(.ant-card:nth-child(1) .ant-statistic-title) {
  color: #69c0ff;
}

/* 比赛统计卡片样式 */
.statsRow :global(.ant-card:nth-child(2)) {
  background: white !important;
}

.statsRow :global(.ant-card:nth-child(2)::before) {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background: rgba(250, 140, 22, 0.08);
  border-radius: 50% 0 0 0;
  z-index: 0;
}

.statsRow :global(.ant-card:nth-child(2) .ant-statistic-content) {
  color: #d46b08;
}

.statsRow :global(.ant-card:nth-child(2) .anticon) {
  color: #fa8c16;
}

.statsRow :global(.ant-card:nth-child(2) .ant-statistic-title) {
  color: #ffc069;
}

/* 提交统计卡片样式 */
.statsRow :global(.ant-card:nth-child(3)) {
  background: white !important;
}

.statsRow :global(.ant-card:nth-child(3)::before) {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background: rgba(82, 196, 26, 0.08);
  border-radius: 50% 0 0 0;
  z-index: 0;
}

.statsRow :global(.ant-card:nth-child(3) .ant-statistic-content) {
  color: #389e0d;
}

.statsRow :global(.ant-card:nth-child(3) .anticon) {
  color: #52c41a;
}

.statsRow :global(.ant-card:nth-child(3) .ant-statistic-title) {
  color: #95de64;
}

/* 服务器统计卡片样式 */
.statsRow :global(.ant-card:nth-child(4)) {
  background: white !important;
}

.statsRow :global(.ant-card:nth-child(4)::before) {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background: rgba(114, 46, 209, 0.08);
  border-radius: 50% 0 0 0;
  z-index: 0;
}

.statsRow :global(.ant-card:nth-child(4) .ant-statistic-content) {
  color: #531dab;
}

.statsRow :global(.ant-card:nth-child(4) .anticon) {
  color: #722ed1;
}

.statsRow :global(.ant-card:nth-child(4) .ant-statistic-title) {
  color: #9254de;
}

.systemInfoRow {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.systemInfoCard {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: none;
}

.systemInfoCard :global(.ant-card-head) {
  border-bottom: 1px solid #f0f0f0;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}

.systemInfoCard :global(.ant-card-head-title) {
  font-weight: 600;
  color: #262626;
}

.systemInfoCard :global(.ant-card-body) {
  padding: 24px;
}

.systemInfoCard :global(.ant-card) {
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: none;
}

.systemInfoCard p {
  margin-bottom: 12px;
  font-size: 14px;
  color: #595959;
}

.systemInfoCard p:last-child {
  margin-bottom: 0;
}

.systemInfoCard strong {
  color: #262626;
  margin-right: 8px;
  font-weight: 500;
}

.systemInfoCard :global(.ant-progress) {
  margin-top: 8px;
}

.dashboard :global(.ant-statistic) {
  text-align: center;
  padding: 16px 0;
}

.dashboard :global(.ant-statistic-title) {
  color: #595959;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.dashboard :global(.ant-statistic-content) {
  font-size: 28px;
  font-weight: 600;
}

.dashboard :global(.ant-statistic-content-prefix) {
  margin-right: 8px;
}

.dashboard :global(.ant-calendar-picker) {
  width: 100%;
}

.dashboard :global(.ant-card-head-title) {
  font-weight: 500;
}

.welcomeSection {
  margin-bottom: 24px;
}

.welcomeAlert {
  padding: 16px;
  border-radius: 8px;
}

.systemInfo {
  height: 100%;
}

/* 系统信息描述列表样式 */
.systemInfo :global(.ant-descriptions-item-label) {
  width: 150px;
  font-weight: 500;
}

.systemInfo :global(.ant-progress-text) {
  font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .dashboard {
    padding: 16px;
  }
  
  .dashboard :global(.ant-card) {
    margin-bottom: 16px;
  }

  .welcomeTitle {
    font-size: 24px !important;
  }

  .systemStatus {
    flex-direction: column;
    gap: 8px;
  }
} 